package com.situ.student.service;

import java.util.List;

import com.situ.student.entity.Banji;
import com.situ.student.entity.PageBean;

public interface IBanjiService {
	public List<Banji> list();
/**
 * 根据班级ID删除
 * @param id
 * @return 成功返回true，失败返回flase
 */
	public abstract boolean deleteById(Integer id);
	
	public abstract boolean insert(Banji banji);
	
	public abstract Banji findById(Integer id);
	
	public abstract boolean update(Banji banji);
	/**
	 * 
	 * @param pageNo
	 * @param pageSize
	 * @return
	 */
	public abstract PageBean getPageBean(int pageNo, int pageSize);
	
	
}

